﻿@model BskLeague.Models.AvaibleTerm


<script type="text/javascript" >
    $().ready(function () {

        $('#time').val('01/01/2012 00:00');
        $('#time').datetimepicker({
            showSecond: false,
            stepMinute: 10,
        });
    });
    </script>

    
@using (Ajax.BeginForm("Create","ScheduleGenerator",new AjaxOptions{UpdateTargetId="Terms"})) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Dodaj dostępny termin meczu</legend>
            @Html.EditorFor(modelItem =>modelItem.time)
    
         

             @Html.DropDownList("stadiumId")
            
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
